package com.hzlx.feign;

import com.hzlx.BomComponentsDto;
import com.hzlx.BomsDto;
import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.common.security.annotation.RequiresPermissions;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(contextId = "baseDataService",value="base-data-service")
public interface baseDataService {
    @GetMapping("/base/bomsDto/list")
    public List<BomsDto> list(@SpringQueryMap BomsDto boms);
    @GetMapping("/base/componentsDto/list")
    public List<BomComponentsDto> BomComponentsList(@SpringQueryMap BomComponentsDto bomComponents);

}
